package com.bookstore.domain;

/*
 表BookType的实体类
 用于存放书籍品类信息
 */
public class BookType {
    private Integer btype;//类型id
    private String tName;//类型名
    public BookType(Integer btype, String tName) {
        this.btype = btype;
        this.tName = tName;
    }

    public BookType() {
    }

    public Integer getBtype() {
        return btype;
    }

    public void setBtype(Integer btype) {
        this.btype = btype;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    @Override
    public String toString() {
        return "BookType{" +
                "btype=" + btype +
                ", tName='" + tName + '\'' +
                '}';
    }
}
